package com.daniel.design.pattern.adapter.class_adapter;

/**
 * @ClassName SdCardImpl
 * @Description SdCard实现类，实现目标接口的
 * @Author Daniel
 * @Version V1.0.0
 */
public class SdCardImpl implements SdCard{
    @Override
    public String readSd() {
        System.out.println("从SD卡中读取数据");
        return "从SD卡中读取数据";
    }

    @Override
    public void writeSd(String data) {
        System.out.println("往SD卡中写入数据"+data);
    }
}
